package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sat.pojo.SatTestDriveRouteListVO;
import com.yunxi.sat.pojo.SatTestDriveRouteVO;
import java.util.List;

/**
 * <p>
 * 试乘试驾路线 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-07-09
 */
public interface SatTestDriveRouteDubboService {

    SatTestDriveRouteVO getById(String id) throws Exception;

    void saveOrUpdate(SatTestDriveRouteVO satTestDriveRouteVO) throws Exception;

    void removeById(String id);

    PageInfo<SatTestDriveRouteVO> findPageByVO(SatTestDriveRouteVO satTestDriveRouteVO, Integer pageNum, Integer pageSize) throws Exception;

    void removeByListVo(List<SatTestDriveRouteVO> satTestDriveRouteVOList) throws Exception;

    List listByVo(SatTestDriveRouteVO satTestDriveRouteVO);

    List<SatTestDriveRouteListVO> listByCode(String partnerCode);

    void removeRoute(List<String> list,String updateBy) throws Exception;
}
